package com.hejjon.knowledgebase.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * @author:
 * @date: 2022-12-13 10:41:35
 * @since: 1.0
 */
@ApiModel(value = "报修记录响应")
public class RepairRecordVO {

    @ApiModelProperty(value = "主键ID")
    @JSONField(ordinal = 0)
    private Long id;

    @ApiModelProperty(value = "设备名称")
    @JSONField(ordinal = 1)
    private String deviceName;

    @ApiModelProperty(value = "报修人")
    @JSONField(ordinal = 2)
    private String repairman;

    @ApiModelProperty(value = "联系电话")
    @JSONField(ordinal = 3)
    private String phone;

    @ApiModelProperty(value = "所属楼栋")
    @JSONField(ordinal = 4)
    private String building;

    @ApiModelProperty(value = "所属教室")
    @JSONField(ordinal = 5)
    private String classroom;

    @ApiModelProperty(value = "报修内容")
    @JSONField(ordinal = 6)
    private String content;

    @ApiModelProperty(value = "维修截止时间")
    @JSONField(ordinal = 7, format = "yyyy-MM-dd")
    private LocalDateTime repairEndTime;

    @ApiModelProperty(value = "维修状态 1已报修 2维修中 3已修复")
    @JSONField(ordinal = 8)
    private Integer state;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getRepairman() {
        return repairman;
    }

    public void setRepairman(String repairman) {
        this.repairman = repairman;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getBuilding() {
        return building;
    }

    public void setBuilding(String building) {
        this.building = building;
    }

    public String getClassroom() {
        return classroom;
    }

    public void setClassroom(String classroom) {
        this.classroom = classroom;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public LocalDateTime getRepairEndTime() {
        return repairEndTime;
    }

    public void setRepairEndTime(LocalDateTime repairEndTime) {
        this.repairEndTime = repairEndTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
